export default [
  {
    url: '/tokens',
    type: 'post',
    response: (req) => {
      console.log(1111);
      const { username, password } = req.body;
      if (username === '1121' && password === 'd112sad') {
        return 'token-11111';
      }
      return {
        code: 400,
        message: '用户名或密码错误',
      };
    },
  },
];
